.class public abstract Lcom/brixd/niceapp/activity/BaseDetailActivity;
.super Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;
.source "BaseDetailActivity.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;
.implements Lcom/brixd/niceapp/activity/IBaseDetailActions;


# static fields
.field protected static final DAO_TYPE_COMMUNITY:I = 0x3

.field protected static final DAO_TYPE_NICE_DAILY:I = 0x2

.field protected static final DAO_TYPE_NICE_GOODS:I = 0x1

.field public static final REQUEST_CODE_COMMENT:I = 0xa

.field private static final REQUEST_CODE_EDIT_APP:I = 0x14

.field private static final REQUEST_CODE_REPLAY_COMMENT:I = 0x1e

.field private static final REQUEST_DELAY:I = 0x1f4

.field private static mIsAbleToRequest:Z

.field private static mIsRequesting:Z


# instance fields
.field private downloadClick:Landroid/view/View$OnClickListener;

.field private estimateOnClick:Landroid/view/View$OnClickListener;

.field private favOnClick:Landroid/view/View$OnClickListener;

.field private mActionArea:Landroid/view/View;

.field protected mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

.field private mAlertTxt:Landroid/widget/TextView;

.field protected mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

.field protected mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mBackBtn:Landroid/widget/ImageButton;

.field protected mChild:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel;",
            ">;>;"
        }
    .end annotation
.end field

.field private mClickedView:Landroid/view/View;

.field protected mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

.field private mCurPage:I

.field private mDelBtn:Landroid/widget/ImageView;

.field private mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

.field private mDownTxt:Landroid/widget/TextView;

.field private mDownloadBtn:Landroid/widget/ImageButton;

.field private mDownloadDialog:Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

.field private mDownloadEnable:Z

.field private mDownloadMenu:Landroid/view/MenuItem;

.field private mDownloadTopBtn:Landroid/widget/ImageButton;

.field private mDownloadTxt:Landroid/widget/TextView;

.field private mDownloadUrls:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private mEditBtn:Landroid/widget/ImageView;

.field private mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

.field protected mExecutor:Ljava/util/concurrent/Executor;

.field private mFavBtn:Landroid/widget/ImageButton;

.field private mFavEnable:Z

.field private mFavTopBtn:Landroid/widget/ImageButton;

.field private mFavTxt:Landroid/widget/TextView;

.field private mFlower:Landroid/widget/ImageView;

.field private mFooter:Landroid/view/ViewGroup;

.field private mFooterContent:Landroid/view/View;

.field protected mGroup:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;",
            ">;"
        }
    .end annotation
.end field

.field private mGuidePopWindow:Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;

.field private mHasMoreComments:Z

.field protected mIconOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field protected mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mIsAppInstalled:Z

.field private mIsDelApp:Z

.field protected mIsDirty:Z

.field private mIsEditApp:Z

.field private mIsFromPush:Z

.field private mLastCommentId:I

.field private mLastPosition:I

.field private mLeaf:Landroid/widget/ImageView;

.field private mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

.field private mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

.field private mLoadingBar:Landroid/widget/ProgressBar;

.field private mLoadingTxt:Landroid/widget/TextView;

.field private mMeiNum:Landroid/widget/TextView;

.field private mMeiyixia:Landroid/view/View;

.field private mModelPosition:I

.field private mOldFavStatus:Z

.field private mOnLinkClickListener:Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;

.field private mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

.field protected mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

.field private mRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

.field private mScrollToComment:Z

.field private mScrollToEnd:Z

.field private mScrollToUpUsers:Z

.field private mShareBtn:Landroid/widget/ImageButton;

.field private mShareTopBtn:Landroid/widget/ImageButton;

.field private mShareTxt:Landroid/widget/TextView;

.field private mShowMore:Landroid/view/View;

.field private mSwitchToolbarPos:I

.field private mTagListView:Lcom/niceapp/lib/tagview/TagListView;

.field private mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

.field private mToolBarComment:Landroid/widget/TextView;

.field private mTopIconY:I

.field private mUpTxt:Landroid/widget/TextView;

.field private mUserAvatar:Landroid/widget/ImageView;

.field private mUserBravosTextView:Landroid/widget/TextView;

.field private mUserIdentity:Landroid/widget/ImageView;

.field private mUserImageBox:Landroid/view/View;

.field protected mUserModel:Lcom/brixd/niceapp/model/UserModel;

.field private mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

.field private mYibanban:Landroid/view/View;

.field private shareOnClick:Landroid/view/View$OnClickListener;

.field private showMoreOnClick:Landroid/view/View$OnClickListener;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 206
    const/4 v0, 0x0

    sput-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsRequesting:Z

    .line 207
    const/4 v0, 0x1

    sput-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAbleToRequest:Z

    return-void
.end method

.method public constructor <init>()V
    .registers 5

    .prologue
    const/4 v3, 0x0

    const/4 v2, -0x1

    const/4 v1, 0x1

    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;-><init>()V

    .line 155
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    .line 156
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    .line 190
    iput v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    .line 191
    iput v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastCommentId:I

    .line 192
    iput v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    .line 196
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavEnable:Z

    .line 197
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    .line 204
    iput-boolean v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToEnd:Z

    .line 205
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHasMoreComments:Z

    .line 224
    invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mExecutor:Ljava/util/concurrent/Executor;

    .line 997
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$27;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$27;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->downloadClick:Landroid/view/View$OnClickListener;

    .line 1027
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$28;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$28;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->shareOnClick:Landroid/view/View$OnClickListener;

    .line 1043
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$29;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$29;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->estimateOnClick:Landroid/view/View$OnClickListener;

    .line 1220
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$30;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$30;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->favOnClick:Landroid/view/View$OnClickListener;

    .line 1284
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$31;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$31;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showMoreOnClick:Landroid/view/View$OnClickListener;

    .line 1478
    new-instance v0, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mOnLinkClickListener:Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShowMore:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$1200(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGuidePopWindow:Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;

    return-object v0
.end method

.method static synthetic access$1202(Lcom/brixd/niceapp/activity/BaseDetailActivity;Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;)Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;

    .prologue
    .line 139
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGuidePopWindow:Lcom/brixd/niceapp/activity/fragment/GuidePopWindow;

    return-object p1
.end method

.method static synthetic access$1300(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiyixia:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$1400(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->goToVideoActivity()V

    return-void
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->shareToWechatMoments()V

    return-void
.end method

.method static synthetic access$1600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    return-object v0
.end method

.method static synthetic access$1700(Lcom/brixd/niceapp/activity/BaseDetailActivity;Lcom/brixd/niceapp/model/DetailModel;Z)V
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/DetailModel;
    .param p2, "x2"    # Z

    .prologue
    .line 139
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->startCommentDetailActivity(Lcom/brixd/niceapp/model/DetailModel;Z)V

    return-void
.end method

.method static synthetic access$1802(Lcom/brixd/niceapp/activity/BaseDetailActivity;Landroid/view/View;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Landroid/view/View;

    .prologue
    .line 139
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mClickedView:Landroid/view/View;

    return-object p1
.end method

.method static synthetic access$1900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2000(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    return-object v0
.end method

.method static synthetic access$2100(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    return-object v0
.end method

.method static synthetic access$2102(Lcom/brixd/niceapp/activity/BaseDetailActivity;Lcom/zuiapps/suite/utils/hud/ProgressHUD;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    .prologue
    .line 139
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    return-object p1
.end method

.method static synthetic access$2202(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDelApp:Z

    return p1
.end method

.method static synthetic access$2300(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->doDownloadEvent(Z)V

    return-void
.end method

.method static synthetic access$2400(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->doShareEvent(Z)V

    return-void
.end method

.method static synthetic access$2500()Z
    .registers 1

    .prologue
    .line 139
    sget-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsRequesting:Z

    return v0
.end method

.method static synthetic access$2600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2700(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2800()Z
    .registers 1

    .prologue
    .line 139
    sget-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAbleToRequest:Z

    return v0
.end method

.method static synthetic access$2802(Z)Z
    .registers 1
    .param p0, "x0"    # Z

    .prologue
    .line 139
    sput-boolean p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAbleToRequest:Z

    return p0
.end method

.method static synthetic access$2900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->prepareRequest()V

    return-void
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$3000(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->resetRequest()V

    return-void
.end method

.method static synthetic access$3100(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/model/EstimateModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    return-object v0
.end method

.method static synthetic access$3102(Lcom/brixd/niceapp/activity/BaseDetailActivity;Lcom/brixd/niceapp/model/EstimateModel;)Lcom/brixd/niceapp/model/EstimateModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/EstimateModel;

    .prologue
    .line 139
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    return-object p1
.end method

.method static synthetic access$3200(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/model/UserTrackModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    return-object v0
.end method

.method static synthetic access$3300(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->resetToolBar()V

    return-void
.end method

.method static synthetic access$3400(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateBravoUsers()V

    return-void
.end method

.method static synthetic access$3500(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateFavStatus(Z)V

    return-void
.end method

.method static synthetic access$3600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ProgressBar;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$3700(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->requestMoreComments(Z)V

    return-void
.end method

.method static synthetic access$3800(Lcom/brixd/niceapp/activity/BaseDetailActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    return v0
.end method

.method static synthetic access$3808(Lcom/brixd/niceapp/activity/BaseDetailActivity;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    return v0
.end method

.method static synthetic access$3900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastCommentId:I

    return v0
.end method

.method static synthetic access$3902(Lcom/brixd/niceapp/activity/BaseDetailActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # I

    .prologue
    .line 139
    iput p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastCommentId:I

    return p1
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$4000(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->expandGroup()V

    return-void
.end method

.method static synthetic access$4100(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToUpUsers:Z

    return v0
.end method

.method static synthetic access$4102(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToUpUsers:Z

    return p1
.end method

.method static synthetic access$4200(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToComment:Z

    return v0
.end method

.method static synthetic access$4202(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToComment:Z

    return p1
.end method

.method static synthetic access$4300(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHasMoreComments:Z

    return v0
.end method

.method static synthetic access$4302(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 139
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHasMoreComments:Z

    return p1
.end method

.method static synthetic access$4400(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLoadingTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$4500(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$4600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/LinkHandler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

    return-object v0
.end method

.method static synthetic access$4700(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateEditStatus()V

    return-void
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Ljava/util/HashMap;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 139
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method private addAlertAction()V
    .registers 3

    .prologue
    .line 1864
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$36;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$36;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1915
    return-void
.end method

.method private delayAllowNextRequest()V
    .registers 5

    .prologue
    .line 1594
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$35;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$35;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 1601
    return-void
.end method

.method private doDownloadEvent(Z)V
    .registers 7
    .param p1, "isClickFromSmartBar"    # Z

    .prologue
    .line 1006
    iget-boolean v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    if-eqz v3, :cond_1e

    .line 1007
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceOpenClick(Z)V

    .line 1009
    :try_start_7
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/BaseAppModel;->getPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v2

    .line 1010
    .local v2, "intent":Landroid/content/Intent;
    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_18} :catch_19

    .line 1025
    .end local v2    # "intent":Landroid/content/Intent;
    :goto_18
    return-void

    .line 1011
    :catch_19
    move-exception v1

    .line 1012
    .local v1, "e":Ljava/lang/Exception;
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_18

    .line 1016
    .end local v1    # "e":Ljava/lang/Exception;
    :cond_1e
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceDownloadClick(Z)V

    .line 1017
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getMinSdkVer()I

    move-result v3

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    if-le v3, v4, :cond_3e

    .line 1018
    new-instance v0, Lcom/brixd/niceapp/ui/AlertDialog;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v0, v3}, Lcom/brixd/niceapp/ui/AlertDialog;-><init>(Landroid/content/Context;)V

    .line 1019
    .local v0, "dialog":Lcom/brixd/niceapp/ui/AlertDialog;
    const v3, 0x7f0c001a

    invoke-virtual {v0, v3}, Lcom/brixd/niceapp/ui/AlertDialog;->setMessage(I)V

    .line 1020
    invoke-virtual {v0}, Lcom/brixd/niceapp/ui/AlertDialog;->show()V

    goto :goto_18

    .line 1022
    .end local v0    # "dialog":Lcom/brixd/niceapp/ui/AlertDialog;
    :cond_3e
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadDialog:Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v4

    invoke-virtual {v3, v4}, Lcom/brixd/niceapp/activity/fragment/DownloadDialog;->showOrDownload(I)V

    goto :goto_18
.end method

.method private doShareEvent(Z)V
    .registers 9
    .param p1, "isClickFromSmartBar"    # Z

    .prologue
    const/4 v4, 0x0

    .line 1036
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceShareOnClick(Z)V

    .line 1038
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getDiscCache()Lcom/nostra13/universalimageloader/cache/disc/DiskCache;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getCoverImageUrl()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/nostra13/universalimageloader/cache/disc/DiskCache;->get(Ljava/lang/String;)Ljava/io/File;

    move-result-object v6

    .line 1039
    .local v6, "imageFile":Ljava/io/File;
    if-nez v6, :cond_34

    move-object v2, v4

    .line 1040
    .local v2, "imagePath":Ljava/lang/String;
    :goto_17
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getDigest()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    const-string v3, "weixin_quan"

    invoke-virtual {p0, v0, v3}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getShareUrl(Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {p0, v0, v5}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getShareCallback(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;)Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;

    move-result-object v5

    move-object v0, p0

    invoke-direct/range {v0 .. v5}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showShare(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;)V

    .line 1041
    return-void

    .line 1039
    .end local v2    # "imagePath":Ljava/lang/String;
    :cond_34
    invoke-virtual {v6}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    goto :goto_17
.end method

.method private expandGroup()V
    .registers 3

    .prologue
    .line 1970
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_11

    .line 1971
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v1, v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->expandGroup(I)Z

    .line 1970
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 1973
    :cond_11
    return-void
.end method

.method private generateHeader()Landroid/view/View;
    .registers 11

    .prologue
    const/16 v9, 0x8

    const/4 v8, 0x0

    .line 1386
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getDetailHeaderLayoutId()I

    move-result v5

    const/4 v6, 0x0

    invoke-static {p0, v5, v6}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 1387
    .local v1, "header":Landroid/view/View;
    const v5, 0x7f0a0034

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getTitle()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1388
    const v5, 0x7f0a00fd

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 1389
    .local v0, "digest":Landroid/widget/TextView;
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/BaseAppModel;->getDigest()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1390
    new-instance v5, Lcom/brixd/niceapp/control/LocalLinkMovementMethod;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mOnLinkClickListener:Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;

    invoke-direct {v5, v6}, Lcom/brixd/niceapp/control/LocalLinkMovementMethod;-><init>(Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;)V

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V

    .line 1391
    const v5, 0x7f0a00bf

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 1392
    .local v3, "subTitle":Landroid/widget/TextView;
    const v5, 0x7f0a0089

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Lcom/niceapp/lib/tagview/TagListView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTagListView:Lcom/niceapp/lib/tagview/TagListView;

    .line 1393
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/BaseAppModel;->getSubTitle()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_133

    .line 1394
    invoke-virtual {v3, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1399
    :goto_61
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateTags()V

    .line 1401
    const v5, 0x7f0a00f4

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    .line 1402
    const v5, 0x7f0a00f5

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEditBtn:Landroid/widget/ImageView;

    .line 1403
    const v5, 0x7f0a00f6

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelBtn:Landroid/widget/ImageView;

    .line 1405
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    instance-of v5, v5, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    if-eqz v5, :cond_11c

    .line 1406
    const v5, 0x7f0a00ba

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/view/View;->setVisibility(I)V

    .line 1407
    const v5, 0x7f0a00bc

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getAuthorName()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1408
    const v5, 0x7f0a00bd

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getAuthorCareer()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1410
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v5, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getAuthorFlowers()I

    move-result v5

    if-lez v5, :cond_13e

    .line 1411
    const v5, 0x7f0a00f1

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserBravosTextView:Landroid/widget/TextView;

    .line 1412
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserBravosTextView:Landroid/widget/TextView;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, ""

    invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v5, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getAuthorFlowers()I

    move-result v5

    invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1418
    :goto_ee
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserImageBox:Landroid/view/View;

    invoke-virtual {v5, v8}, Landroid/view/View;->setVisibility(I)V

    .line 1419
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v5, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->getAuthorIdentity()I

    move-result v5

    const/4 v6, 0x1

    if-ne v5, v6, :cond_14c

    .line 1420
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserIdentity:Landroid/widget/ImageView;

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1425
    :goto_103
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserAvatar:Landroid/widget/ImageView;

    new-instance v6, Lcom/brixd/niceapp/activity/BaseDetailActivity$33;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$33;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1450
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getAuthorAvatarUrl()Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserAvatar:Landroid/widget/ImageView;

    iget-object v8, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v5, v6, v7, v8}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 1453
    :cond_11c
    const v5, 0x7f0a002f

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 1454
    .local v2, "icon":Landroid/widget/ImageView;
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getIconUrl()Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIconOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v5, v6, v2, v7}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 1456
    return-object v1

    .line 1396
    .end local v2    # "icon":Landroid/widget/ImageView;
    :cond_133
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v5}, Lcom/brixd/niceapp/model/BaseAppModel;->getSubTitle()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_61

    .line 1414
    :cond_13e
    const v5, 0x7f0a00ef

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    .line 1415
    .local v4, "view":Landroid/view/View;
    invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v5

    iput v8, v5, Landroid/view/ViewGroup$LayoutParams;->width:I

    goto :goto_ee

    .line 1422
    .end local v4    # "view":Landroid/view/View;
    :cond_14c
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserIdentity:Landroid/widget/ImageView;

    invoke-virtual {v5, v9}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_103
.end method

.method private getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;
    .registers 3

    .prologue
    const/4 v1, 0x1

    .line 1500
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    .line 1501
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    return-object v0
.end method

.method private goToVideoActivity()V
    .registers 5

    .prologue
    .line 1976
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$38;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$38;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 2004
    return-void
.end method

.method private hideDownloadBtn()V
    .registers 3

    .prologue
    const/16 v1, 0x8

    .line 1511
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1512
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1513
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1514
    return-void
.end method

.method private hideFavBtn()V
    .registers 3

    .prologue
    const/16 v1, 0x8

    .line 1505
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1506
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1507
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1508
    return-void
.end method

.method private initData()V
    .registers 14

    .prologue
    const v12, 0x7f02010e

    const v11, 0x7f0200d8

    const v10, 0x7f0200b3

    .line 342
    new-instance v6, Lcom/brixd/niceapp/util/LinkHandler;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/util/LinkHandler;-><init>(Landroid/content/Context;)V

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;

    .line 343
    new-instance v6, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;-><init>(Landroid/content/Context;)V

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mRequestCacheUtil:Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    .line 344
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-static {v6}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v6

    const-class v7, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v6, v7}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 346
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v6

    const-string v7, "ModelPosition"

    const/4 v8, -0x1

    invoke-virtual {v6, v7, v8}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v6

    iput v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mModelPosition:I

    .line 348
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v6

    const-string v7, "FromPush"

    const/4 v8, 0x0

    invoke-virtual {v6, v7, v8}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v6

    iput-boolean v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsFromPush:Z

    .line 349
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v6

    const-string v7, "AppModel"

    invoke-virtual {v6, v7}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v6

    check-cast v6, Lcom/brixd/niceapp/model/BaseAppModel;

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    .line 350
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getDetailModels()Ljava/util/ArrayList;

    move-result-object v3

    .line 351
    .local v3, "detailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v7, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_CONTENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 352
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 354
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getSameApps()Ljava/util/List;

    move-result-object v5

    .line 355
    .local v5, "sameApps":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/ShortAppModel;>;"
    invoke-static {v5}, Lcom/brixd/niceapp/model/DetailModel;->convertShortAppToDetailModels(Ljava/util/List;)Ljava/util/ArrayList;

    move-result-object v4

    .line 356
    .local v4, "sameAppDetailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v6

    if-lez v6, :cond_7f

    .line 357
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v7, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_SAME_APPS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 358
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 361
    :cond_7f
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getEstimateModel()Lcom/brixd/niceapp/model/EstimateModel;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    .line 362
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v6

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getCachedEstimateModel(I)Lcom/brixd/niceapp/model/EstimateModel;

    move-result-object v0

    .line 363
    .local v0, "cachedModel":Lcom/brixd/niceapp/model/EstimateModel;
    if-eqz v0, :cond_a3

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/EstimateModel;->getTimeUpdatedInMillis()J

    move-result-wide v6

    iget-object v8, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    invoke-virtual {v8}, Lcom/brixd/niceapp/model/EstimateModel;->getTimeUpdatedInMillis()J

    move-result-wide v8

    cmp-long v6, v6, v8

    if-lez v6, :cond_a3

    .line 364
    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    .line 368
    :cond_a3
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateBravoUsers()V

    .line 370
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v6

    int-to-double v6, v6

    const-wide/high16 v8, 0x4000000000000000L

    div-double/2addr v6, v8

    invoke-static {v6, v7}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v6

    double-to-int v6, v6

    iput v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    .line 372
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v6}, Lcom/brixd/niceapp/model/BaseAppModel;->getCommentModels()Ljava/util/ArrayList;

    move-result-object v2

    .line 374
    .local v2, "commentModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CommentModel;>;"
    invoke-static {v2}, Lcom/brixd/niceapp/model/DetailModel;->convertCommentsToDetailModels(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v1

    .line 376
    .local v1, "commentDetailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v6

    if-lez v6, :cond_d1

    .line 377
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v7, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_COMMENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 378
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v6, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 381
    :cond_d1
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 383
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v6, :cond_de

    .line 384
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateAppModelFavStatus()V

    .line 387
    :cond_de
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v10}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v10}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    .line 388
    invoke-virtual {v6, v10}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 390
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v11}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v11}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    .line 391
    invoke-virtual {v6, v11}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIconOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 393
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v12}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6, v12}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    .line 394
    invoke-virtual {v6, v12}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAvatarOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 396
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v6

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 397
    new-instance v6, Lcom/brixd/niceapp/util/RequestDelayHandler;

    invoke-direct {v6}, Lcom/brixd/niceapp/util/RequestDelayHandler;-><init>()V

    iput-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    .line 398
    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;

    const/16 v7, 0x1f4

    invoke-virtual {v6, v7}, Lcom/brixd/niceapp/util/RequestDelayHandler;->setDelayTime(I)V

    .line 399
    return-void
.end method

.method private initWidgets()V
    .registers 9

    .prologue
    const/4 v5, -0x1

    const/4 v2, 0x0

    .line 402
    const v0, 0x7f0a002d

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mBackBtn:Landroid/widget/ImageButton;

    .line 403
    const v0, 0x7f0a0072

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    .line 404
    const v0, 0x7f0a0073

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    .line 405
    const v0, 0x7f0a0074

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    .line 406
    const v0, 0x7f0a0075

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserImageBox:Landroid/view/View;

    .line 407
    const v0, 0x7f0a0077

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserIdentity:Landroid/widget/ImageView;

    .line 408
    const v0, 0x7f0a0076

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserAvatar:Landroid/widget/ImageView;

    .line 410
    const v0, 0x7f0a0104

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiNum:Landroid/widget/TextView;

    .line 411
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiNum:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/EstimateModel;->getUpNum()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 413
    const v0, 0x7f0a0070

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    .line 414
    const v0, 0x7f0a0103

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiyixia:Landroid/view/View;

    .line 415
    const v0, 0x7f0a0107

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mYibanban:Landroid/view/View;

    .line 416
    const v0, 0x7f0a0105

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFlower:Landroid/widget/ImageView;

    .line 417
    const v0, 0x7f0a0108

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLeaf:Landroid/widget/ImageView;

    .line 418
    const v0, 0x7f0a0106

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    .line 419
    const v0, 0x7f0a0109

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    .line 420
    const v0, 0x7f0a006f

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBarComment:Landroid/widget/TextView;

    .line 421
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBarComment:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getToolbarCommentHint()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    .line 422
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->resetToolBar()V

    .line 424
    const v0, 0x7f0a0071

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    .line 425
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0, v2}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setGroupIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 426
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->generateHeader()Landroid/view/View;

    move-result-object v6

    .line 427
    .local v6, "header":Landroid/view/View;
    const v0, 0x7f0a00f7

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    .line 428
    const v0, 0x7f0a00f9

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    .line 429
    const v0, 0x7f0a00fb

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    .line 430
    const v0, 0x7f0a00fc

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    .line 431
    const v0, 0x7f0a00f8

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    .line 432
    const v0, 0x7f0a00fa

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    .line 433
    const v0, 0x7f0a0044

    invoke-virtual {v6, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    .line 435
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0, v6}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->addHeaderView(Landroid/view/View;)V

    .line 437
    const v0, 0x7f030043

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooter:Landroid/view/ViewGroup;

    .line 438
    const v0, 0x7f030044

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    .line 439
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00fe

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShowMore:Landroid/view/View;

    .line 440
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00ff

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLoadingTxt:Landroid/widget/TextView;

    .line 441
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a0100

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    .line 442
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooter:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooterContent:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 444
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFooter:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->addFooterView(Landroid/view/View;)V

    .line 445
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;-><init>(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/util/ArrayList;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    .line 446
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setAdapter(Landroid/widget/ExpandableListAdapter;)V

    .line 447
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->expandGroup()V

    .line 449
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    instance-of v0, v0, Lcom/brixd/niceapp/model/AppModel;

    if-eqz v0, :cond_26e

    .line 450
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    const v1, 0x7f02010d

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setShadow(I)V

    .line 451
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderView()Landroid/widget/ImageView;

    move-result-object v0

    sget-object v1, Landroid/widget/ImageView$ScaleType;->CENTER_INSIDE:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 452
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getCoverImageUrl()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v2}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderView()Landroid/widget/ImageView;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    new-instance v4, Lcom/brixd/niceapp/activity/BaseDetailActivity$4;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$4;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;Lcom/nostra13/universalimageloader/core/listener/ImageLoadingListener;)V

    .line 462
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v0, Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/AppModel;->getVideoUrl()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_227

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v0, Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/AppModel;->getVideoUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_227

    .line 464
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ImageButton;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v7

    check-cast v7, Landroid/widget/FrameLayout$LayoutParams;

    .line 465
    .local v7, "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    iput v5, v7, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 466
    iput v5, v7, Landroid/widget/FrameLayout$LayoutParams;->height:I

    .line 467
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ImageButton;->requestLayout()V

    .line 469
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08000c

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundColor(I)V

    .line 470
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    const v1, 0x7f02004e

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageResource(I)V

    .line 471
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 473
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getPlayBtn()Landroid/widget/ImageButton;

    move-result-object v0

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$5;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 531
    .end local v7    # "layoutParams":Landroid/widget/FrameLayout$LayoutParams;
    :cond_227
    :goto_227
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateFavStatus(Z)V

    .line 533
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getDownloadUrls()Ljava/util/HashMap;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    .line 534
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->size()I

    move-result v0

    if-nez v0, :cond_243

    .line 535
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->hideDownloadBtn()V

    .line 538
    :cond_243
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getAppSize()Ljava/lang/String;

    move-result-object v2

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getTitle()Ljava/lang/String;

    move-result-object v3

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getPackageName()Ljava/lang/String;

    move-result-object v4

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/brixd/niceapp/activity/fragment/DownloadDialog;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadDialog:Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

    .line 539
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadDialog:Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/DownloadDialog;->setDownloadUrls(Ljava/util/HashMap;)V

    .line 541
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateEditStatus()V

    .line 543
    return-void

    .line 527
    :cond_26e
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    instance-of v0, v0, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    if-eqz v0, :cond_227

    .line 528
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->hideHeaderImage()V

    goto :goto_227
.end method

.method private initWidgetsAction()V
    .registers 3

    .prologue
    .line 588
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mBackBtn:Landroid/widget/ImageButton;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$7;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$7;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 597
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$8;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$8;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnShareBtnClickListener(Landroid/view/View$OnClickListener;)V

    .line 606
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$9;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$9;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnShareIconClickListener(Landroid/view/View$OnClickListener;)V

    .line 615
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$10;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$10;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnShareTitleClickListener(Landroid/view/View$OnClickListener;)V

    .line 624
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$11;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$11;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnSameAppClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnSameAppClickListener;)V

    .line 641
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$12;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$12;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnSameAppAuthorAvatarClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnSameAppAuthorAvatarClickListener;)V

    .line 653
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$13;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$13;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnCommentAvatarClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnCommentAvatarClickListener;)V

    .line 665
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$14;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$14;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnUpUserAvatarClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnUpUserAvatarClickListener;)V

    .line 677
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$15;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$15;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnMoreUpUserClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnMoreUpUserClickListener;)V

    .line 691
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnRecommendClickListener(Landroid/view/View$OnClickListener;)V

    .line 720
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->initWidgetsAction2()V

    .line 722
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$17;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$17;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnCommentClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnCommentClickListener;)V

    .line 737
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$18;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$18;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnReplaysClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnReplaysClickListener;)V

    .line 746
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnCommentUpClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnCommentUpClickListener;)V

    .line 793
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mOnLinkClickListener:Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnLinkClickListener(Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;)V

    .line 795
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$20;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$20;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setOnGroupClickListener(Landroid/widget/ExpandableListView$OnGroupClickListener;)V

    .line 802
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v0, p0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 804
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->downloadClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 805
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->downloadClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 806
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->downloadClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 808
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->shareOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 809
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->shareOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 810
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->shareOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 812
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->favOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 813
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->favOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 814
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->favOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 816
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiyixia:Landroid/view/View;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->estimateOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 817
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mYibanban:Landroid/view/View;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->estimateOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 819
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShowMore:Landroid/view/View;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showMoreOnClick:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 821
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getSwipeBackLayout()Lcom/brixd/android/swipeback/lib/SwipeBackLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    invoke-virtual {v0, v1}, Lcom/brixd/android/swipeback/lib/SwipeBackLayout;->addIgnoredView(Landroid/view/View;)V

    .line 822
    const v0, 0x7f0a0101

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$21;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$21;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 830
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBarComment:Landroid/widget/TextView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$22;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$22;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 839
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadDialog:Lcom/brixd/niceapp/activity/fragment/DownloadDialog;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$23;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$23;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/DownloadDialog;->setOnDownloadTypeClickEvent(Lcom/brixd/niceapp/activity/fragment/DownloadDialog$OnDownloadTypeClickEvent;)V

    .line 867
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTagListView:Lcom/niceapp/lib/tagview/TagListView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$24;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$24;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/niceapp/lib/tagview/TagListView;->setOnTagClickListener(Lcom/niceapp/lib/tagview/TagListView$OnTagClickListener;)V

    .line 879
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelBtn:Landroid/widget/ImageView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$25;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$25;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 929
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEditBtn:Landroid/widget/ImageView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$26;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$26;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 939
    return-void
.end method

.method private initWidgetsAction2()V
    .registers 3

    .prologue
    .line 548
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$6;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$6;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setOnCommentLongClickListener(Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnCommentLongClickListener;)V

    .line 584
    return-void
.end method

.method private prepareRequest()V
    .registers 2

    .prologue
    .line 1584
    const/4 v0, 0x1

    sput-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsRequesting:Z

    .line 1585
    const/4 v0, 0x0

    sput-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAbleToRequest:Z

    .line 1586
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->delayAllowNextRequest()V

    .line 1587
    return-void
.end method

.method private refreshDetails()V
    .registers 6

    .prologue
    .line 1957
    const v3, 0x7f0a00fd

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 1958
    .local v1, "digest":Landroid/widget/TextView;
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getDigest()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1960
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v4, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_CONTENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 1961
    .local v0, "contentIndex":I
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->clear()V

    .line 1963
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getDetailModels()Ljava/util/ArrayList;

    move-result-object v2

    .line 1964
    .local v2, "imageDetails":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 1965
    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v3}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->notifyDataSetChanged()V

    .line 1966
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->expandGroup()V

    .line 1967
    return-void
.end method

.method private requestMoreComments(Z)V
    .registers 8
    .param p1, "reposition"    # Z

    .prologue
    .line 1296
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v1

    iget v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    add-int/lit8 v2, v0, 0x1

    const/16 v3, 0xa

    iget v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastCommentId:I

    new-instance v5, Lcom/brixd/niceapp/activity/BaseDetailActivity$32;

    invoke-direct {v5, p0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity$32;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;Z)V

    move-object v0, p0

    invoke-virtual/range {v0 .. v5}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->requestMoreComments(IIIILretrofit/Callback;)V

    .line 1382
    return-void
.end method

.method private resetRequest()V
    .registers 2

    .prologue
    .line 1590
    const/4 v0, 0x0

    sput-boolean v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsRequesting:Z

    .line 1591
    return-void
.end method

.method private resetToolBar()V
    .registers 5

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 1551
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->isFinishing()Z

    move-result v0

    if-eqz v0, :cond_9

    .line 1581
    :cond_8
    :goto_8
    return-void

    .line 1555
    :cond_9
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiNum:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/EstimateModel;->getUpNum()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1557
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v0, :cond_8

    .line 1558
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    if-eqz v0, :cond_8d

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserTrackModel;->getUpIdList()Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8d

    .line 1559
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFlower:Landroid/widget/ImageView;

    const v1, 0x7f0200f5

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 1560
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiNum:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1561
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1562
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    const v1, 0x7f0c00a0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 1571
    :goto_58
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    if-eqz v0, :cond_b0

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserTrackModel;->getDownIdList()Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b0

    .line 1572
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLeaf:Landroid/widget/ImageView;

    const v1, 0x7f0200fa

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 1573
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1574
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0147

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_8

    .line 1564
    :cond_8d
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFlower:Landroid/widget/ImageView;

    const v1, 0x7f0200f6

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 1565
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiNum:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1566
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1567
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUpTxt:Landroid/widget/TextView;

    const v1, 0x7f0c009f

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_58

    .line 1576
    :cond_b0
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLeaf:Landroid/widget/ImageView;

    const v1, 0x7f0200fb

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 1577
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    .line 1578
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0146

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_8
.end method

.method private setResult()V
    .registers 6

    .prologue
    const/4 v1, 0x1

    .line 1533
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 1534
    .local v0, "data":Landroid/content/Intent;
    iget-boolean v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDelApp:Z

    if-eqz v2, :cond_56

    .line 1535
    const-string v2, "Del"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1541
    :cond_f
    :goto_f
    const-string v2, "IsFavStatusChanged"

    iget-boolean v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mOldFavStatus:Z

    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v4

    if-eq v3, v4, :cond_67

    :goto_1b
    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1542
    const-string v1, "IsFavored"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1543
    const-string v1, "UpNum"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/EstimateModel;->getUpNum()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1544
    const-string v1, "ShowNum"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getShowTimes()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1545
    const-string v1, "CommentNum"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getCommentTimes()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1546
    const-string v1, "ModelPosition"

    iget v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mModelPosition:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1547
    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->setResult(ILandroid/content/Intent;)V

    .line 1548
    return-void

    .line 1536
    :cond_56
    iget-boolean v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsEditApp:Z

    if-eqz v2, :cond_f

    .line 1537
    const-string v2, "Edit"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1538
    const-string v2, "AppModel"

    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    goto :goto_f

    .line 1541
    :cond_67
    const/4 v1, 0x0

    goto :goto_1b
.end method

.method private shareToWechatMoments()V
    .registers 7

    .prologue
    .line 1918
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getDigest()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getDiscCache()Lcom/nostra13/universalimageloader/cache/disc/DiskCache;

    move-result-object v0

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getCoverImageUrl()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v2}, Lcom/nostra13/universalimageloader/cache/disc/DiskCache;->get(Ljava/lang/String;)Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    const-string v3, "weixin_quan"

    .line 1919
    invoke-virtual {p0, v0, v3}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getShareUrl(Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "WechatMoments"

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {p0, v0, v5}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getShareCallback(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;)Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;

    move-result-object v5

    move-object v0, p0

    .line 1918
    invoke-direct/range {v0 .. v5}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showShare(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;)V

    .line 1920
    return-void
.end method

.method private showShare(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;)V
    .registers 14
    .param p1, "shareText"    # Ljava/lang/String;
    .param p2, "imageFilePath"    # Ljava/lang/String;
    .param p3, "urlForWechat"    # Ljava/lang/String;
    .param p4, "platform"    # Ljava/lang/String;
    .param p5, "callback"    # Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;

    .prologue
    .line 1923
    new-instance v7, Lcom/brixd/niceapp/activity/BaseDetailActivity$37;

    invoke-direct {v7, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$37;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    .line 1953
    .local v7, "platformActionListener":Lcn/sharesdk/framework/PlatformActionListener;
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    move-object v0, p0

    move-object v2, p1

    move-object v3, p2

    move-object v4, p3

    move-object v5, p4

    move-object v6, p5

    invoke-static/range {v0 .. v7}, Lcom/brixd/niceapp/util/ShareUtils;->share(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;Lcn/sharesdk/framework/PlatformActionListener;)V

    .line 1954
    return-void
.end method

.method private showTopIcon(Z)V
    .registers 38
    .param p1, "show"    # Z

    .prologue
    .line 1687
    const/4 v2, 0x2

    new-array v10, v2, [I

    .line 1688
    .local v10, "actionAreaLocal":[I
    const/4 v2, 0x2

    new-array v11, v2, [I

    .line 1689
    .local v11, "backLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v24, v0

    .line 1690
    .local v24, "favLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v25, v0

    .line 1691
    .local v25, "favTopLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v32, v0

    .line 1692
    .local v32, "shareLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v33, v0

    .line 1693
    .local v33, "shareTopLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v16, v0

    .line 1694
    .local v16, "downloadLocal":[I
    const/4 v2, 0x2

    new-array v0, v2, [I

    move-object/from16 v17, v0

    .line 1695
    .local v17, "downloadTopLocal":[I
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v24

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1696
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v25

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1697
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v32

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1698
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v33

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1699
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v16

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1700
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v17

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1701
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mBackBtn:Landroid/widget/ImageButton;

    invoke-virtual {v2, v11}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1702
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    invoke-virtual {v2, v10}, Landroid/view/View;->getLocationInWindow([I)V

    .line 1704
    if-eqz p1, :cond_17a

    .line 1705
    const/4 v2, 0x0

    aget v2, v24, v2

    const/4 v3, 0x0

    aget v3, v25, v3

    sub-int v22, v2, v3

    .line 1706
    .local v22, "favDx":I
    const/4 v2, 0x1

    aget v2, v24, v2

    const/4 v3, 0x1

    aget v3, v25, v3

    sub-int v23, v2, v3

    .line 1707
    .local v23, "favDy":I
    const/4 v2, 0x0

    aget v2, v32, v2

    const/4 v3, 0x0

    aget v3, v33, v3

    sub-int v30, v2, v3

    .line 1708
    .local v30, "shareDx":I
    const/4 v2, 0x1

    aget v2, v32, v2

    const/4 v3, 0x1

    aget v3, v33, v3

    sub-int v31, v2, v3

    .line 1709
    .local v31, "shareDy":I
    const/4 v2, 0x0

    aget v2, v16, v2

    const/4 v3, 0x0

    aget v3, v17, v3

    sub-int v14, v2, v3

    .line 1710
    .local v14, "downloadDx":I
    const/4 v2, 0x1

    aget v2, v16, v2

    const/4 v3, 0x1

    aget v3, v17, v3

    sub-int v15, v2, v3

    .line 1711
    .local v15, "downloadDy":I
    const/4 v2, 0x1

    aget v2, v10, v2

    const/4 v3, 0x1

    aget v3, v11, v3

    sub-int v9, v2, v3

    .line 1713
    .local v9, "actionAreaDy":I
    const/4 v2, 0x0

    const/4 v3, 0x0

    int-to-float v4, v9

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v8

    .line 1714
    .local v8, "actionAnimation":Landroid/view/animation/TranslateAnimation;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1715
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    invoke-virtual {v2, v8}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1717
    move/from16 v0, v30

    int-to-float v2, v0

    const/4 v3, 0x0

    move/from16 v0, v31

    int-to-float v4, v0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v28

    .line 1719
    .local v28, "shareAnimation":Landroid/view/animation/TranslateAnimation;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1720
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1721
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1722
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1723
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1724
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v28

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1726
    move-object/from16 v0, p0

    iget-boolean v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavEnable:Z

    if-eqz v2, :cond_134

    .line 1727
    move/from16 v0, v22

    int-to-float v2, v0

    const/4 v3, 0x0

    move/from16 v0, v23

    int-to-float v4, v0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v20

    .line 1728
    .local v20, "favAnimation":Landroid/view/animation/TranslateAnimation;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1729
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1730
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1731
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1732
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1733
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v20

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1736
    .end local v20    # "favAnimation":Landroid/view/animation/TranslateAnimation;
    :cond_134
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->size()I

    move-result v2

    if-lez v2, :cond_179

    move-object/from16 v0, p0

    iget-boolean v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    if-eqz v2, :cond_179

    .line 1737
    int-to-float v2, v14

    const/4 v3, 0x0

    int-to-float v4, v15

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v12

    .line 1738
    .local v12, "downloadAnimation":Landroid/view/animation/TranslateAnimation;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1739
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1740
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1741
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1742
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1743
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    invoke-virtual {v2, v12}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1808
    .end local v12    # "downloadAnimation":Landroid/view/animation/TranslateAnimation;
    .end local v15    # "downloadDy":I
    .end local v23    # "favDy":I
    .end local v31    # "shareDy":I
    :cond_179
    :goto_179
    return-void

    .line 1746
    .end local v8    # "actionAnimation":Landroid/view/animation/TranslateAnimation;
    .end local v9    # "actionAreaDy":I
    .end local v14    # "downloadDx":I
    .end local v22    # "favDx":I
    .end local v28    # "shareAnimation":Landroid/view/animation/TranslateAnimation;
    .end local v30    # "shareDx":I
    :cond_17a
    const/4 v2, 0x0

    aget v2, v25, v2

    const/4 v3, 0x0

    aget v3, v24, v3

    sub-int v22, v2, v3

    .line 1748
    .restart local v22    # "favDx":I
    const/4 v2, 0x0

    aget v2, v33, v2

    const/4 v3, 0x0

    aget v3, v32, v3

    sub-int v30, v2, v3

    .line 1750
    .restart local v30    # "shareDx":I
    const/4 v2, 0x0

    aget v2, v17, v2

    const/4 v3, 0x0

    aget v3, v16, v3

    sub-int v14, v2, v3

    .line 1752
    .restart local v14    # "downloadDx":I
    const/4 v2, 0x1

    aget v2, v11, v2

    const/4 v3, 0x1

    aget v3, v10, v3

    sub-int v9, v2, v3

    .line 1754
    .restart local v9    # "actionAreaDy":I
    const/4 v2, 0x0

    const/4 v3, 0x0

    int-to-float v4, v9

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v8

    .line 1755
    .restart local v8    # "actionAnimation":Landroid/view/animation/TranslateAnimation;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1756
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mActionArea:Landroid/view/View;

    invoke-virtual {v2, v8}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1758
    move/from16 v0, v30

    int-to-float v2, v0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v28

    .line 1759
    .restart local v28    # "shareAnimation":Landroid/view/animation/TranslateAnimation;
    move/from16 v0, v30

    int-to-float v2, v0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v34

    .line 1760
    .local v34, "shareTxtAnimation":Landroid/view/animation/TranslateAnimation;
    const/4 v2, 0x0

    const/high16 v3, 0x3f800000

    const/4 v4, 0x0

    const/high16 v5, 0x3f800000

    move/from16 v0, v30

    int-to-float v6, v0

    const/4 v7, 0x0

    invoke-static/range {v2 .. v7}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconScaleAnimation(FFFFFF)Landroid/view/animation/ScaleAnimation;

    move-result-object v35

    .line 1761
    .local v35, "shareTxtScaleAnimation":Landroid/view/animation/ScaleAnimation;
    new-instance v29, Landroid/view/animation/AnimationSet;

    const/4 v2, 0x1

    move-object/from16 v0, v29

    invoke-direct {v0, v2}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    .line 1762
    .local v29, "shareAnimationSet":Landroid/view/animation/AnimationSet;
    move-object/from16 v0, v29

    move-object/from16 v1, v34

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1763
    move-object/from16 v0, v29

    move-object/from16 v1, v35

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1765
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1766
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1767
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1769
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTopBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1770
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v28

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1771
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareTxt:Landroid/widget/TextView;

    move-object/from16 v0, v29

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1773
    move-object/from16 v0, p0

    iget-boolean v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavEnable:Z

    if-eqz v2, :cond_288

    .line 1774
    move/from16 v0, v22

    int-to-float v2, v0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v20

    .line 1775
    .restart local v20    # "favAnimation":Landroid/view/animation/TranslateAnimation;
    move/from16 v0, v22

    int-to-float v2, v0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v26

    .line 1776
    .local v26, "favTxtAnimation":Landroid/view/animation/TranslateAnimation;
    const/4 v2, 0x0

    const/high16 v3, 0x3f800000

    const/4 v4, 0x0

    const/high16 v5, 0x3f800000

    move/from16 v0, v22

    int-to-float v6, v0

    const/4 v7, 0x0

    invoke-static/range {v2 .. v7}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconScaleAnimation(FFFFFF)Landroid/view/animation/ScaleAnimation;

    move-result-object v27

    .line 1777
    .local v27, "favTxtScaleAnimation":Landroid/view/animation/ScaleAnimation;
    new-instance v21, Landroid/view/animation/AnimationSet;

    const/4 v2, 0x1

    move-object/from16 v0, v21

    invoke-direct {v0, v2}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    .line 1778
    .local v21, "favAnimationSet":Landroid/view/animation/AnimationSet;
    move-object/from16 v0, v21

    move-object/from16 v1, v26

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1779
    move-object/from16 v0, v21

    move-object/from16 v1, v27

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1781
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1782
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1783
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1785
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1786
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    move-object/from16 v0, v20

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1787
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    move-object/from16 v0, v21

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1790
    .end local v20    # "favAnimation":Landroid/view/animation/TranslateAnimation;
    .end local v21    # "favAnimationSet":Landroid/view/animation/AnimationSet;
    .end local v26    # "favTxtAnimation":Landroid/view/animation/TranslateAnimation;
    .end local v27    # "favTxtScaleAnimation":Landroid/view/animation/ScaleAnimation;
    :cond_288
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v2}, Ljava/util/HashMap;->size()I

    move-result v2

    if-lez v2, :cond_179

    move-object/from16 v0, p0

    iget-boolean v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    if-eqz v2, :cond_179

    .line 1791
    int-to-float v2, v14

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v12

    .line 1792
    .restart local v12    # "downloadAnimation":Landroid/view/animation/TranslateAnimation;
    int-to-float v2, v14

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {v2, v3, v4, v5}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconTranslateAnimation(FFFF)Landroid/view/animation/TranslateAnimation;

    move-result-object v18

    .line 1793
    .local v18, "downloadTxtAnimation":Landroid/view/animation/TranslateAnimation;
    const/4 v2, 0x0

    const/high16 v3, 0x3f800000

    const/4 v4, 0x0

    const/high16 v5, 0x3f800000

    int-to-float v6, v14

    const/4 v7, 0x0

    invoke-static/range {v2 .. v7}, Lcom/brixd/niceapp/animator/AnimatorUtils;->getIconScaleAnimation(FFFFFF)Landroid/view/animation/ScaleAnimation;

    move-result-object v19

    .line 1795
    .local v19, "downloadTxtScaleAnimation":Landroid/view/animation/ScaleAnimation;
    new-instance v13, Landroid/view/animation/AnimationSet;

    const/4 v2, 0x1

    invoke-direct {v13, v2}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    .line 1796
    .local v13, "downloadAnimationSet":Landroid/view/animation/AnimationSet;
    move-object/from16 v0, v18

    invoke-virtual {v13, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1797
    move-object/from16 v0, v19

    invoke-virtual {v13, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 1799
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1800
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1801
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 1803
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    invoke-static {v2}, Lcom/brixd/niceapp/animator/AnimatorUtils;->cancelAnimation(Landroid/view/View;)V

    .line 1804
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v2, v12}, Landroid/widget/ImageButton;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1805
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    invoke-virtual {v2, v13}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    goto/16 :goto_179
.end method

.method private startCommentDetailActivity(Lcom/brixd/niceapp/model/DetailModel;Z)V
    .registers 6
    .param p1, "detailModel"    # Lcom/brixd/niceapp/model/DetailModel;
    .param p2, "autoComment"    # Z

    .prologue
    .line 942
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    .line 944
    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 945
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "Comment"

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 946
    const-string v1, "AppModel"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 947
    const-string v1, "AutoComment"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 948
    const/16 v1, 0x1e

    invoke-virtual {p0, v0, v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->startActivityForResult(Landroid/content/Intent;I)V

    .line 949
    return-void
.end method

.method private updateAppModelFavStatus()V
    .registers 4

    .prologue
    .line 1828
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getUserTrackModel()Lcom/brixd/niceapp/model/UserTrackModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    .line 1829
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    if-eqz v0, :cond_35

    .line 1830
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserTrackModel:Lcom/brixd/niceapp/model/UserTrackModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserTrackModel;->getFavedIdList()Ljava/util/List;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3e

    .line 1831
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/model/BaseAppModel;->setFavored(Z)V

    .line 1837
    :cond_35
    :goto_35
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mOldFavStatus:Z

    .line 1838
    return-void

    .line 1833
    :cond_3e
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/model/BaseAppModel;->setFavored(Z)V

    goto :goto_35
.end method

.method private updateBravoUsers()V
    .registers 7

    .prologue
    .line 1168
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEstimateModel:Lcom/brixd/niceapp/model/EstimateModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/EstimateModel;->getUpUsers()Ljava/util/ArrayList;

    move-result-object v1

    .line 1170
    .local v1, "upUsers":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CommonUserModel;>;"
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lez v4, :cond_95

    .line 1171
    new-instance v2, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v2}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 1172
    .local v2, "userDetailModel":Lcom/brixd/niceapp/model/DetailModel;
    sget-object v4, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v2, v4}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 1173
    invoke-virtual {v2, v1}, Lcom/brixd/niceapp/model/DetailModel;->setUserModels(Ljava/util/ArrayList;)V

    .line 1175
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v3

    .line 1176
    .local v3, "userGroupIndex":I
    if-gez v3, :cond_7e

    .line 1177
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_COMMENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 1178
    .local v0, "commentGroupIndex":I
    if-gez v0, :cond_6c

    .line 1179
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1180
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1186
    :goto_3e
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v3

    .line 1188
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1189
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    if-eqz v4, :cond_5a

    .line 1190
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v4}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->notifyDataSetChanged()V

    .line 1198
    .end local v0    # "commentGroupIndex":I
    :cond_5a
    :goto_5a
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    if-eqz v4, :cond_6b

    .line 1199
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v4, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->setUserData(Ljava/util/ArrayList;)V

    .line 1200
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v4}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->notifyUserAdapterDataSetChanged()V

    .line 1201
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->expandGroup()V

    .line 1218
    .end local v2    # "userDetailModel":Lcom/brixd/niceapp/model/DetailModel;
    :cond_6b
    :goto_6b
    return-void

    .line 1182
    .restart local v0    # "commentGroupIndex":I
    .restart local v2    # "userDetailModel":Lcom/brixd/niceapp/model/DetailModel;
    :cond_6c
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v0, v5}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 1183
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {v4, v0, v5}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    goto :goto_3e

    .line 1194
    .end local v0    # "commentGroupIndex":I
    :cond_7e
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->clear()V

    .line 1195
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_5a

    .line 1205
    .end local v2    # "userDetailModel":Lcom/brixd/niceapp/model/DetailModel;
    .end local v3    # "userGroupIndex":I
    :cond_95
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v5, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_USERS:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v3

    .line 1206
    .restart local v3    # "userGroupIndex":I
    if-ltz v3, :cond_a9

    .line 1207
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 1208
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 1211
    :cond_a9
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    if-eqz v4, :cond_6b

    .line 1212
    iget-object v4, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v4}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->notifyDataSetChanged()V

    .line 1213
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->expandGroup()V

    goto :goto_6b
.end method

.method private updateDownloadStatus()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 964
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_e

    .line 991
    :goto_d
    return-void

    .line 967
    :cond_e
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/zuiapps/suite/utils/app/AppUtil;->isAppInstalled(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    .line 968
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->isForceShowDownloadButton()Z

    move-result v0

    if-eqz v0, :cond_22

    .line 969
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    .line 972
    :cond_22
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    instance-of v0, v0, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    if-eqz v0, :cond_34

    .line 973
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    check-cast v0, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/model/CommunityAppModel;->isTestingApp()Z

    move-result v0

    if-eqz v0, :cond_34

    .line 974
    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    .line 978
    :cond_34
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadMenu:Landroid/view/MenuItem;

    if-eqz v0, :cond_44

    .line 979
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadMenu:Landroid/view/MenuItem;

    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    if-eqz v0, :cond_61

    const v0, 0x7f0202b4

    :goto_41
    invoke-interface {v1, v0}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 982
    :cond_44
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    if-eqz v0, :cond_65

    .line 983
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    const v1, 0x7f0c00b8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 984
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    const v1, 0x7f020101

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 985
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    const v1, 0x7f020100

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_d

    .line 979
    :cond_61
    const v0, 0x7f0202b2

    goto :goto_41

    .line 987
    :cond_65
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0060

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 988
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200e1

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 989
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadTopBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200e0

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_d
.end method

.method private updateEditStatus()V
    .registers 5

    .prologue
    const/16 v3, 0x8

    const/4 v2, 0x0

    .line 1841
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    instance-of v0, v0, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    if-eqz v0, :cond_2a

    .line 1842
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v0, :cond_2b

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getAuthorId()I

    move-result v1

    if-ne v0, v1, :cond_2b

    .line 1843
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEditBtn:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1844
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelBtn:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1845
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1861
    :cond_2a
    :goto_2a
    return-void

    .line 1847
    :cond_2b
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mEditBtn:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1848
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelBtn:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1849
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1850
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v1

    invoke-static {v0, v1}, Lcom/brixd/niceapp/util/LocalCacheUtils;->isAlertCommunityArticle(Landroid/content/Context;I)Z

    move-result v0

    if-eqz v0, :cond_59

    .line 1851
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    const v1, 0x7f0c000c

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 1852
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_2a

    .line 1854
    :cond_59
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAlertTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0008

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 1855
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->addAlertAction()V

    goto :goto_2a
.end method

.method private updateFavStatus(Z)V
    .registers 4
    .param p1, "isFaved"    # Z

    .prologue
    .line 952
    if-eqz p1, :cond_1b

    .line 953
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200f1

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 954
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200f0

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 955
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0073

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 961
    :goto_1a
    return-void

    .line 957
    :cond_1b
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200ef

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 958
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTopBtn:Landroid/widget/ImageButton;

    const v1, 0x7f0200ee

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 959
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavTxt:Landroid/widget/TextView;

    const v1, 0x7f0c0072

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_1a
.end method

.method private updateTags()V
    .registers 3

    .prologue
    .line 1464
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getTags()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_25

    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->getTags()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_25

    .line 1465
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTagListView:Lcom/niceapp/lib/tagview/TagListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/niceapp/lib/tagview/TagListView;->setVisibility(I)V

    .line 1466
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTagListView:Lcom/niceapp/lib/tagview/TagListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getTags()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/niceapp/lib/tagview/TagListView;->setTags(Ljava/util/List;)V

    .line 1468
    :cond_25
    return-void
.end method


# virtual methods
.method protected disableComment()V
    .registers 3

    .prologue
    .line 1614
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setTouchModeAbove(I)V

    .line 1615
    const v0, 0x7f0a0101

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 1616
    const v0, 0x7fffffff

    iput v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    .line 1617
    return-void
.end method

.method protected disableDownload()V
    .registers 2

    .prologue
    .line 1604
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    .line 1605
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->hideDownloadBtn()V

    .line 1606
    return-void
.end method

.method protected disableFav()V
    .registers 2

    .prologue
    .line 1609
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mFavEnable:Z

    .line 1610
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->hideFavBtn()V

    .line 1611
    return-void
.end method

.method public finish()V
    .registers 3

    .prologue
    .line 1519
    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDirty:Z

    if-eqz v1, :cond_7

    .line 1520
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->setResult()V

    .line 1523
    :cond_7
    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsFromPush:Z

    if-eqz v1, :cond_1b

    .line 1524
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1525
    .local v0, "intent":Landroid/content/Intent;
    const v1, 0x8000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 1526
    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->startActivity(Landroid/content/Intent;)V

    .line 1529
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_1b
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->finish()V

    .line 1530
    return-void
.end method

.method protected getDetailHeaderLayoutId()I
    .registers 2

    .prologue
    .line 1460
    const v0, 0x7f030045

    return v0
.end method

.method protected getUserId()I
    .registers 3

    .prologue
    .line 2117
    const/4 v0, 0x0

    .line 2118
    .local v0, "userId":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v1, :cond_b

    .line 2119
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    .line 2121
    :cond_b
    return v0
.end method

.method protected isForceShowDownloadButton()Z
    .registers 2

    .prologue
    .line 994
    const/4 v0, 0x0

    return v0
.end method

.method public onActivityResult(IILandroid/content/Intent;)V
    .registers 24
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 2008
    invoke-super/range {p0 .. p3}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 2009
    const/16 v1, 0xa

    move/from16 v0, p1

    if-ne v0, v1, :cond_7b

    const/4 v1, -0x1

    move/from16 v0, p2

    if-ne v0, v1, :cond_7b

    .line 2010
    if-eqz p3, :cond_6a

    .line 2011
    const-string v1, "CommentCount"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getCommentTimes()I

    move-result v3

    move-object/from16 v0, p3

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v11

    .line 2012
    .local v11, "commentTimes":I
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1, v11}, Lcom/brixd/niceapp/model/BaseAppModel;->setCommentTimes(I)V

    .line 2013
    const-string v1, "Comment"

    move-object/from16 v0, p3

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 2014
    .local v2, "comment":Ljava/lang/String;
    const-string v1, "ShareToWeibo"

    const/4 v3, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v16

    .line 2016
    .local v16, "shareToWeibo":Z
    if-eqz v16, :cond_65

    .line 2017
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    move-object/from16 v0, p0

    iput-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 2018
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->getPlatform()Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    move-result-object v1

    sget-object v3, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->Weibo:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    if-ne v1, v3, :cond_65

    .line 2019
    const/4 v3, 0x0

    const/4 v4, 0x0

    sget-object v5, Lcn/sharesdk/sina/weibo/SinaWeibo;->NAME:Ljava/lang/String;

    invoke-virtual/range {p0 .. p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    move-object/from16 v0, p0

    invoke-virtual {v0, v1, v6}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getCommentShareCallback(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;)Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;

    move-result-object v6

    move-object/from16 v1, p0

    invoke-direct/range {v1 .. v6}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showShare(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;)V

    .line 2026
    :cond_65
    const/4 v1, 0x1

    move-object/from16 v0, p0

    iput-boolean v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDirty:Z

    .line 2029
    .end local v2    # "comment":Ljava/lang/String;
    .end local v11    # "commentTimes":I
    .end local v16    # "shareToWeibo":Z
    :cond_6a
    const/4 v1, 0x0

    move-object/from16 v0, p0

    iput v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurPage:I

    .line 2030
    const/4 v1, -0x1

    move-object/from16 v0, p0

    iput v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastCommentId:I

    .line 2031
    const/4 v1, 0x1

    move-object/from16 v0, p0

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->requestMoreComments(Z)V

    .line 2114
    :cond_7a
    :goto_7a
    return-void

    .line 2033
    :cond_7b
    const/16 v1, 0x1e

    move/from16 v0, p1

    if-ne v0, v1, :cond_1d7

    const/4 v1, -0x1

    move/from16 v0, p2

    if-ne v0, v1, :cond_1d7

    .line 2034
    const-string v1, "Comment"

    move-object/from16 v0, p3

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/model/CommentModel;

    .line 2035
    .local v2, "comment":Lcom/brixd/niceapp/model/CommentModel;
    if-eqz v2, :cond_7a

    .line 2036
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    if-eqz v1, :cond_7a

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v3

    if-ne v1, v3, :cond_7a

    .line 2037
    const-string v1, "DeleteComment"

    const/4 v3, 0x0

    move-object/from16 v0, p3

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_10d

    .line 2038
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v3, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_COMMENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v10

    .line 2039
    .local v10, "commentGroupIndex":I
    if-ltz v10, :cond_7a

    .line 2040
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v1, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 2041
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mChild:Ljava/util/ArrayList;

    invoke-virtual {v1, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_eb

    .line 2042
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mGroup:Ljava/util/ArrayList;

    sget-object v3, Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;->TYPE_GROUP_COMMENT:Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 2045
    :cond_eb
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter;->notifyDataSetChanged()V

    .line 2047
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getCommentTimes()I

    move-result v1

    add-int/lit8 v15, v1, -0x1

    .line 2048
    .local v15, "replayTimes":I
    if-gez v15, :cond_ff

    .line 2049
    const/4 v15, 0x0

    .line 2051
    :cond_ff
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1, v15}, Lcom/brixd/niceapp/model/BaseAppModel;->setCommentTimes(I)V

    .line 2052
    const/4 v1, 0x1

    move-object/from16 v0, p0

    iput-boolean v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDirty:Z

    goto/16 :goto_7a

    .line 2055
    .end local v10    # "commentGroupIndex":I
    .end local v15    # "replayTimes":I
    :cond_10d
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v1

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getReplayTimes()I

    move-result v3

    invoke-virtual {v1, v3}, Lcom/brixd/niceapp/model/CommentModel;->setReplayTimes(I)V

    .line 2056
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v1

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getUpTimes()I

    move-result v3

    invoke-virtual {v1, v3}, Lcom/brixd/niceapp/model/CommentModel;->setUpTimes(I)V

    .line 2057
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mCurDetailModel:Lcom/brixd/niceapp/model/DetailModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v1

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->isDigg()Z

    move-result v3

    invoke-virtual {v1, v3}, Lcom/brixd/niceapp/model/CommentModel;->setDigg(Z)V

    .line 2060
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "CommentTimes_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/TextView;

    .line 2061
    .local v12, "commentTimesTxt":Landroid/widget/TextView;
    if-eqz v12, :cond_181

    .line 2062
    invoke-virtual {v12}, Landroid/widget/TextView;->getVisibility()I

    move-result v1

    if-eqz v1, :cond_167

    .line 2063
    const/4 v1, 0x0

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2066
    :cond_167
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getReplayTimes()I

    move-result v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2069
    :cond_181
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "UpTimes_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->findViewWithTag(Ljava/lang/Object;)Landroid/view/View;

    move-result-object v19

    check-cast v19, Landroid/widget/TextView;

    .line 2070
    .local v19, "upTimesTxt":Landroid/widget/TextView;
    if-eqz v19, :cond_7a

    .line 2071
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getUpTimes()I

    move-result v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object/from16 v0, v19

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2072
    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->isDigg()Z

    move-result v1

    if-eqz v1, :cond_1d3

    const v1, 0x7f02008e

    :goto_1c9
    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object/from16 v0, v19

    invoke-virtual {v0, v1, v3, v4, v5}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    goto/16 :goto_7a

    :cond_1d3
    const v1, 0x7f02008d

    goto :goto_1c9

    .line 2081
    .end local v2    # "comment":Lcom/brixd/niceapp/model/CommentModel;
    .end local v12    # "commentTimesTxt":Landroid/widget/TextView;
    .end local v19    # "upTimesTxt":Landroid/widget/TextView;
    :cond_1d7
    const/16 v1, 0x14

    move/from16 v0, p1

    if-ne v0, v1, :cond_23e

    const/16 v1, 0x3e9

    move/from16 v0, p2

    if-ne v0, v1, :cond_23e

    .line 2083
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v14

    .line 2084
    .local v14, "isFaved":Z
    const-string v1, "AppModel"

    move-object/from16 v0, p3

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/CommunityAppModel;

    move-object/from16 v0, p0

    iput-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    .line 2085
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1, v14}, Lcom/brixd/niceapp/model/BaseAppModel;->setFavored(Z)V

    .line 2086
    const v1, 0x7f0a00bf

    move-object/from16 v0, p0

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v17

    check-cast v17, Landroid/widget/TextView;

    .line 2087
    .local v17, "subTitleTxt":Landroid/widget/TextView;
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getSubTitle()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_22c

    .line 2088
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getSubTitle()Ljava/lang/String;

    move-result-object v1

    move-object/from16 v0, v17

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2089
    const/4 v1, 0x0

    move-object/from16 v0, v17

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2091
    :cond_22c
    invoke-direct/range {p0 .. p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateTags()V

    .line 2092
    invoke-direct/range {p0 .. p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->refreshDetails()V

    .line 2094
    const/4 v1, 0x1

    move-object/from16 v0, p0

    iput-boolean v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsEditApp:Z

    .line 2095
    const/4 v1, 0x1

    move-object/from16 v0, p0

    iput-boolean v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsDirty:Z

    goto/16 :goto_7a

    .line 2096
    .end local v14    # "isFaved":Z
    .end local v17    # "subTitleTxt":Landroid/widget/TextView;
    :cond_23e
    const/16 v1, 0x3836

    move/from16 v0, p1

    if-ne v0, v1, :cond_298

    .line 2097
    const/4 v1, -0x1

    move/from16 v0, p2

    if-ne v0, v1, :cond_28a

    .line 2098
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getDiscCache()Lcom/nostra13/universalimageloader/cache/disc/DiskCache;

    move-result-object v1

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getCoverImageUrl()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v3}, Lcom/nostra13/universalimageloader/cache/disc/DiskCache;->get(Ljava/lang/String;)Ljava/io/File;

    move-result-object v13

    .line 2099
    .local v13, "imageFile":Ljava/io/File;
    if-nez v13, :cond_285

    const/4 v8, 0x0

    .line 2100
    .local v8, "imagePath":Ljava/lang/String;
    :goto_260
    invoke-virtual/range {p0 .. p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v3

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getTitle()Ljava/lang/String;

    move-result-object v5

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getSubTitle()Ljava/lang/String;

    move-result-object v6

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/BaseAppModel;->getDigest()Ljava/lang/String;

    move-result-object v7

    invoke-static/range {v3 .. v8}, Lcom/brixd/niceapp/util/ShareUtils;->shareToEvernote(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_7a

    .line 2099
    .end local v8    # "imagePath":Ljava/lang/String;
    :cond_285
    invoke-virtual {v13}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v8

    goto :goto_260

    .line 2101
    .end local v13    # "imageFile":Ljava/io/File;
    :cond_28a
    const/16 v1, 0x2710

    move/from16 v0, p2

    if-ne v0, v1, :cond_7a

    .line 2102
    const v1, 0x7f0c0035

    invoke-static {v1}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V

    goto/16 :goto_7a

    .line 2105
    :cond_298
    const/16 v1, 0x3837

    move/from16 v0, p1

    if-ne v0, v1, :cond_7a

    const/4 v1, -0x1

    move/from16 v0, p2

    if-ne v0, v1, :cond_7a

    .line 2106
    const v1, 0x7f0c00f4

    invoke-static {v1}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V

    .line 2109
    invoke-static {}, Lcom/brixd/niceapp/application/NiceAppApplication;->getAppBaseDirName()Ljava/lang/String;

    move-result-object v9

    .line 2110
    .local v9, "baseCacheLocation":Ljava/lang/String;
    new-instance v18, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v3, Ljava/io/File;->separator:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, "temp"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object/from16 v0, v18

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 2111
    .local v18, "tempDir":Ljava/io/File;
    invoke-static/range {v18 .. v18}, Lcom/zuiapps/suite/utils/file/FileUtil;->deleteAllFiles(Ljava/io/File;)V

    goto/16 :goto_7a
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const/4 v2, 0x0

    .line 243
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 244
    const v0, 0x7f030015

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->setContentView(I)V

    .line 246
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->initData()V

    .line 247
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->initWidgets()V

    .line 248
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->initWidgetsAction()V

    .line 250
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "ScrollToUpUsers"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToUpUsers:Z

    .line 251
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "ScrollToComment"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToComment:Z

    .line 253
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToComment:Z

    if-nez v0, :cond_33

    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToUpUsers:Z

    if-eqz v0, :cond_3d

    .line 254
    :cond_33
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$1;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->post(Ljava/lang/Runnable;)Z

    .line 279
    :cond_3d
    invoke-static {}, Lcom/brixd/niceapp/util/LocalCacheUtils;->isGuideMeiyixiaViewed()Z

    move-result v0

    if-nez v0, :cond_4f

    .line 280
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mMeiyixia:Landroid/view/View;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$2;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    const-wide/16 v2, 0x104

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 290
    :cond_4f
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    new-instance v1, Lcom/brixd/niceapp/activity/BaseDetailActivity$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity$3;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V

    invoke-virtual {v0, v1}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setOnOpenedListener(Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu$OnOpenedListener;)V

    .line 299
    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .registers 4
    .param p1, "menu"    # Landroid/view/Menu;

    .prologue
    .line 303
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->hasSmartBar()Z

    move-result v1

    if-eqz v1, :cond_1c

    .line 304
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v1}, Ljava/util/HashMap;->size()I

    move-result v1

    if-lez v1, :cond_21

    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    if-eqz v1, :cond_21

    .line 305
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getMenuInflater()Landroid/view/MenuInflater;

    move-result-object v0

    .line 306
    .local v0, "inflater":Landroid/view/MenuInflater;
    const v1, 0x7f0e0003

    invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

    .line 313
    .end local v0    # "inflater":Landroid/view/MenuInflater;
    :cond_1c
    :goto_1c
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

    move-result v1

    return v1

    .line 308
    :cond_21
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getMenuInflater()Landroid/view/MenuInflater;

    move-result-object v0

    .line 309
    .restart local v0    # "inflater":Landroid/view/MenuInflater;
    const v1, 0x7f0e0002

    invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

    goto :goto_1c
.end method

.method protected onDestroy()V
    .registers 1

    .prologue
    .line 1682
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onDestroy()V

    .line 1683
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->clearEstimateOnExit()V

    .line 1684
    return-void
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .registers 5
    .param p1, "item"    # Landroid/view/MenuItem;

    .prologue
    const/4 v2, 0x1

    .line 330
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->hasSmartBar()Z

    move-result v0

    if-eqz v0, :cond_13

    .line 331
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    const v1, 0x7f0a01f8

    if-ne v0, v1, :cond_18

    .line 332
    invoke-direct {p0, v2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->doShareEvent(Z)V

    .line 338
    :cond_13
    :goto_13
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v0

    return v0

    .line 333
    :cond_18
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    const v1, 0x7f0a01f9

    if-ne v0, v1, :cond_13

    .line 334
    invoke-direct {p0, v2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->doDownloadEvent(Z)V

    goto :goto_13
.end method

.method protected onPause()V
    .registers 1

    .prologue
    .line 238
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onPause()V

    .line 239
    return-void
.end method

.method public onPrepareOptionsMenu(Landroid/view/Menu;)Z
    .registers 4
    .param p1, "menu"    # Landroid/view/Menu;

    .prologue
    .line 318
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->hasSmartBar()Z

    move-result v0

    if-eqz v0, :cond_27

    .line 319
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadUrls:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->size()I

    move-result v0

    if-lez v0, :cond_27

    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadEnable:Z

    if-eqz v0, :cond_27

    .line 320
    const v0, 0x7f0a01f9

    invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadMenu:Landroid/view/MenuItem;

    .line 321
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDownloadMenu:Landroid/view/MenuItem;

    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mIsAppInstalled:Z

    if-eqz v0, :cond_2c

    const v0, 0x7f0202b4

    :goto_24
    invoke-interface {v1, v0}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 325
    :cond_27
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onPrepareOptionsMenu(Landroid/view/Menu;)Z

    move-result v0

    return v0

    .line 321
    :cond_2c
    const v0, 0x7f0202b2

    goto :goto_24
.end method

.method protected onResume()V
    .registers 2

    .prologue
    .line 228
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onResume()V

    .line 230
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-nez v0, :cond_d

    .line 231
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 233
    :cond_d
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateDownloadStatus()V

    .line 234
    return-void
.end method

.method public onScroll(Landroid/widget/AbsListView;III)V
    .registers 12
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "firstVisibleItem"    # I
    .param p3, "visibleItemCount"    # I
    .param p4, "totalItemCount"    # I

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x1

    .line 1652
    const/4 v5, 0x2

    new-array v2, v5, [I

    .line 1653
    .local v2, "shareLocal":[I
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    invoke-virtual {v5, v2}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1655
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderViewsCount()I

    move-result v5

    sub-int v5, p2, v5

    add-int/lit8 v0, v5, 0x1

    .line 1657
    .local v0, "actionPosition":I
    if-gtz v0, :cond_1c

    aget v5, v2, v3

    iget v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTopIconY:I

    if-ge v5, v6, :cond_5c

    :cond_1c
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    invoke-virtual {v5}, Landroid/widget/ImageButton;->getVisibility()I

    move-result v5

    if-nez v5, :cond_5c

    .line 1658
    const-string v5, "show anim"

    invoke-static {v5}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V

    .line 1659
    invoke-direct {p0, v3}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showTopIcon(Z)V

    .line 1666
    :cond_2c
    :goto_2c
    iget v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    if-lez v5, :cond_55

    .line 1667
    add-int v5, p2, p3

    add-int/lit8 v5, v5, -0x1

    iget-object v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v6}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderViewsCount()I

    move-result v6

    sub-int v1, v5, v6

    .line 1668
    .local v1, "lastVisiablePosition":I
    iget v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    if-le v1, v5, :cond_75

    iget v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastPosition:I

    iget v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    if-gt v5, v6, :cond_75

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    invoke-virtual {v5}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->isMenuShowing()Z

    move-result v5

    if-nez v5, :cond_75

    .line 1669
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    invoke-virtual {v5}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->showMenu()V

    .line 1674
    :cond_53
    :goto_53
    iput v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastPosition:I

    .line 1677
    .end local v1    # "lastVisiablePosition":I
    :cond_55
    add-int v5, p2, p3

    if-lt v5, p4, :cond_8d

    :goto_59
    iput-boolean v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToEnd:Z

    .line 1678
    return-void

    .line 1661
    :cond_5c
    if-gtz v0, :cond_2c

    aget v5, v2, v3

    iget v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTopIconY:I

    if-le v5, v6, :cond_2c

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShareBtn:Landroid/widget/ImageButton;

    invoke-virtual {v5}, Landroid/widget/ImageButton;->getVisibility()I

    move-result v5

    if-eqz v5, :cond_2c

    .line 1662
    const-string v5, "hide anim"

    invoke-static {v5}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V

    .line 1663
    invoke-direct {p0, v4}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->showTopIcon(Z)V

    goto :goto_2c

    .line 1670
    .restart local v1    # "lastVisiablePosition":I
    :cond_75
    iget v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    if-gt v1, v5, :cond_53

    iget v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLastPosition:I

    iget v6, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mSwitchToolbarPos:I

    if-le v5, v6, :cond_53

    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    invoke-virtual {v5}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->isMenuShowing()Z

    move-result v5

    if-eqz v5, :cond_53

    .line 1671
    iget-object v5, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mToolBar:Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    invoke-virtual {v5}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->showContent()V

    goto :goto_53

    .end local v1    # "lastVisiablePosition":I
    :cond_8d
    move v3, v4

    .line 1677
    goto :goto_59
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .registers 6
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "scrollState"    # I

    .prologue
    .line 1632
    iget v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTopIconY:I

    if-nez v1, :cond_32

    .line 1633
    const/4 v1, 0x2

    new-array v0, v1, [I

    .line 1634
    .local v0, "location":[I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mBackBtn:Landroid/widget/ImageButton;

    invoke-virtual {v1, v0}, Landroid/widget/ImageButton;->getLocationInWindow([I)V

    .line 1635
    const/4 v1, 0x1

    aget v1, v0, v1

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mBackBtn:Landroid/widget/ImageButton;

    invoke-virtual {v2}, Landroid/widget/ImageButton;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    iput v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTopIconY:I

    .line 1637
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "init Y:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mTopIconY:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V

    .line 1640
    .end local v0    # "location":[I
    :cond_32
    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mScrollToEnd:Z

    if-eqz v1, :cond_49

    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mHasMoreComments:Z

    if-eqz v1, :cond_49

    if-nez p2, :cond_49

    .line 1641
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    invoke-virtual {v1}, Landroid/widget/ProgressBar;->getVisibility()I

    move-result v1

    if-eqz v1, :cond_49

    .line 1642
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mShowMore:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->performClick()Z

    .line 1645
    :cond_49
    return-void
.end method

.method protected setTopActionAlignLeft()V
    .registers 6

    .prologue
    .line 1471
    const v2, 0x7f0a00f7

    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 1472
    .local v1, "topActionArea":Landroid/widget/LinearLayout;
    const/16 v2, 0x53

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 1473
    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    .line 1474
    .local v0, "params":Landroid/widget/RelativeLayout$LayoutParams;
    const/4 v2, 0x1

    const/high16 v3, 0x42800000

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v4

    invoke-static {v2, v3, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v2

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    .line 1476
    return-void
.end method

.method protected traceEvent(Ljava/lang/String;)V
    .registers 6
    .param p1, "event"    # Ljava/lang/String;

    .prologue
    .line 1620
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 1621
    .local v0, "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v1, "ArticleName"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getTitle()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1622
    const-string v1, "ArticleId"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1623
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getActivity()Landroid/app/Activity;

    move-result-object v1

    invoke-static {v1, p1, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;)V

    .line 1624
    return-void
.end method

.method protected traceZMEvent(Ljava/lang/String;)V
    .registers 3
    .param p1, "jsonContent"    # Ljava/lang/String;

    .prologue
    .line 1627
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/brixd/niceapp/service/StatisticsService;->logInfo(Ljava/lang/String;Lcom/brixd/niceapp/model/Token;)V

    .line 1628
    return-void
.end method

.method protected userSignon(Lcom/brixd/niceapp/bus/event/UserSignonEvent;)V
    .registers 3
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UserSignonEvent;

    .prologue
    .line 1811
    const-string v0, "onUserSignon"

    invoke-static {v0}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V

    .line 1813
    invoke-virtual {p1}, Lcom/brixd/niceapp/bus/event/UserSignonEvent;->getUserModel()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 1814
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateAppModelFavStatus()V

    .line 1816
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->resetToolBar()V

    .line 1817
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/BaseAppModel;->isFavored()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateFavStatus(Z)V

    .line 1818
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->updateEditStatus()V

    .line 1820
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mClickedView:Landroid/view/View;

    if-eqz v0, :cond_29

    .line 1821
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mClickedView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->performClick()Z

    .line 1822
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mClickedView:Landroid/view/View;

    .line 1825
    :cond_29
    return-void
.end method
